Not something I really need right now nor probably many of you, but I still think it's pretty darn cool looking and talk about a geek level-up tool! :)
At the time of writing this post, D is easily more popular than all functional programming languages combined. Here’s a portion of the chart zooming in on D and functional languages.
One of the common causes of downtime with MySQL is running out of connections. There is a better solution: use different user accounts for different scripts and applications and implement resource limiting for them. Specifically set max_user_connections:
If you are short of RAM and get a poor performance, it may be a good time to verify your disks performance and see if they do match your needs.
Here, in no particular order, are the top 9 reasons I like working with Go: The Toolchain, Clean Code, Go Routines, Channels, Metaphysical Parsimony, and 4 more...
Previously, I was precalculating the completion which maximized the probability of the word, using some basterdized half-remembered version of bayes law. But I think there is a better approach, by running simulations on existing data.
Every week here and in our newsletter, we feature a new developer/blogger from the DZone community. This week we're talking to Pierre-Hugues Charbonneau, Senior IT Consultant and System Architect at CGI Inc., and author of DZone's 200th Refcard: Java Performance Optimization.
So you can see where I'm heading with the question posed at the title of this post. It is the reference resolution that is fundamental an indirection is simply what we do to (re)define what that resolution process ultimately looks like.
This article illustrates the general time - memory tradeoff with the example of different hash table implementations in Java. The more memory a hash table takes, the faster each operation (e. g. getting a value by key or putting an entry) is performed.
Today, DZone released Refcard #200: Java Performance Optimization. To mark the significance of this milestone, this Refcard boasts a complete redesign - all the information you expect from a Refcard in a shiny new package!
The administrators on the server noted the high I/O and that a single thread was constantly busy and decided that this is likely a hung thread. The long term fix was to actually make sure that we abort the operation after a while, report to the remote server that we scanned up to a point, and had nothing to show for it, and go back to the replication loop.
PHPNG is only in alpha development, but several benchmarking tests already put it streets ahead of PHP 5.6 – in some cases, it easily performs twice as quickly.
In the finite sequence article, we saw that unless we wanted to limit ourselves to a certain number of values we couldn't use generate and iterate in a simple manner.
With Identity Server, we can also use Thrift protocal to communicate with PDP. It is said that thrift is more faster than the HTTP. Therefore we hope that we can get more performance and less response time by using thrift protocol with Identity Server.
In Java it’s common to unit test at the class level. The Foo class will have an associated FooTestsclass. Solitary Unit Tests follow two additional constraints: Never cross boundaries and the Class Under Test should be the only concrete class found in a test.
One of my blog readers told me it was 2014. He laughed at the fact that I was still using XML, so within 30 minutes I was writing JSON to disk, instead of XML. It was incredibly easy to do.
In order to retrieve JMX information from a Java application, the target application must be configured to expose JMX information. The following Java code allows for polling the JMX agent and retrieving memory, CPU usage and also shows how to remotely invoke the garbage collector:
In my previous post, I did some rough “benchmarks” to see how message passing options behave. I got some great comments, and I thought I’ll expand on that.
When sending data over the Internet, we want to be sure that data has arrived safely and is delivered in a reliable manner. Assuming that our hardware and operating systems do the job well, we can use transport protocol on the application level to achieve that goal.
The first time I learned how DNS gets resolved, I was quite surprised by how long and complicated the process was. Think about how many websites you visit in a given day, then consider how many of those you go to multiple times.
This week, DZone released its latest Refcard: Node.js. For those of you interested in sharpening your Node.js skills - or, maybe, debating a potentially unpopular opinion - we decided to dig into the DZone archives and find some of the most popular posts we've had on the topic.
What I need this for is for network protocol handling. As such, even assuming that every single byte is a message, we would have to go far beyond what any reasonable pipe can be expected to be handle.
I had the pleasure of presenting to the PHP Users Group Philippines a few days ago about mysqlnd_ms. The mysqlnd plugin, MySQL Master Slave, is a transparent layer on top of mysqlnd extension.
A couple years ago when I began using Python 3, its new ResourceWarnings infuriated me and I ranted against them. And now, a ResourceWarning has saved my tuchus.
I’m designing a new component, and I want to reduce the amount of complexity involved in dealing with it. This is a networked component, and after designing several such, I wanted to remove one area of complexity, which is the use of explicitly concurrent code.