Giorgio Sironi

Developer at Onebip , Website , Git home page , @giorgiosironi , Linkedin profile
I search for the harmony between form and context, which is a fancy way of saying I build software to fit in the world I'm in and its rapid changes. In the specific, my areas of expertise are testing, OOP design and distributed computing.
 

Meter objects, Php Design Pattern

Long running operations are not necessarily a bad thing, for example to slowly import or export data on the boundary between two systems without causing a huge load on one of them

read more by Giorgio Sironi in Developers

Distributed locks with MongoDB: renewing (part 3)

In the previous parts of this article we have seen how to use MongoDB to acquire a lock for a program which must run as a single instance at any time on your servers. However, long-lived locks are sometimes dangerous for...

read more by Giorgio Sironi in Developers

Distributed locks with MongoDB: releasing (part 2)

In the previous article of this mini-series, we saw how to atomically acquire a lock through a MongoDB collection *unique* index in order to ensure mutual exclusion between multiple copies of a program

read more by Giorgio Sironi in Developers

Distributed locks with MongoDB: acquiring (part 1)

"Singleton" processes such as cron jobs must usually run in isolation in our application, without multiple copies of them being started even if the code is deployed on several machines without shared resources

read more by Giorgio Sironi in Developers

5-minute MongoDB profiling

MongoDB has a bundled query profiler that can be run in a development environment or even on production databases. As it is customary for MongoDB, the API exposed by the profiler is a collection, which is composed of o...

read more by Giorgio Sironi in DevOps

Configuring the PHP MongoDB driver for high availability

MongoDB replica sets are composed of a primary server and one or more secondaries that act as an hot stand by. In case the primary server of a replica set goes down due to a crash or a machine failure, an election take...

read more by Giorgio Sironi in Developers

cloudparty

Follow Us