Image for post
Image for post

This package tries to leverage the power of Message Pack and msgpack.php

Mainly this uses https://github.com/msgpack-rpc/msgpack-rpc-php while updating the underlying code & upgrading to the above mentioned msgpack.php package.

There are 3 possible use cases for this repository due to it’s server & client perspectives

  1. Client (my main use case)
$client = new Client('localhost', '1985');  
$messages = $client->call("SyncJob", $job, $payload);
echo array_pop($messages);

aside from the obvious host and port arguments for the Client class, let's see the arguments for the call function:

  • first argument is a string naming the function to be called on the server side (see tests/server.php)
  • the call method is a variadic function, hence the following arguments are concatenated to an array on the…


Image for post
Image for post

Using gRPC as a replacement for GEARMAN communication between PHP and Python

You might need or want to create a software architecture where everyone is welcome.

If there is an opensource project that solves a problem of your domain like crunching metrics or storing some metadata somewhere else like analytics, I am sure you are used to just call an API through a simple HTTP call.

But when you want to deploy a service of your own, that is at the core of your domain you would definitely want to use something faster as execution, easier to maintain and simple.

All computers wait at the same speed.

Starting from the need to communicate between different programming languages, first you might arrive at the legacy option: GEARMAN. Although Gearman is a legacy, it is definitely good enough to get you started. …


Series Introduction

Empower your applications with efficient concurrency

Untitled presentation.png
Untitled presentation.png

The series

Filled with examples, this series will show you all you need to know to start using concurrency in Python.

Viewers will gain the knowledge of main approaches to concurrency that Python has to offer including the libraries and tools needed to exploit the performance of your processor. Learn the basic theory and history of parallelism and choose the best approach when it comes to parallel processing. Write efficient concurrent applications that take advantage of modern day multi-core processors or to provide interactivity to users. …


img.jpg
img.jpg

It gets harder and harder to anticipate events like the one on 16th of January, here is my curated list of resources to explore (recently explored the Alps hence the photo above).

Tools:

  • CRYPTOCURRENCY CALENDAR — Evidence-based & community-driven with really great filters allowing to get to the root of some movements in the markets

Twitter Accounts: Inspired by 10 Fascinating People of #CryptoTwitter You Need To Follow of @stellabelle I decided to share my short list of accounts as well.


Problem: how to guide programmers to implement domain driven design and modular architectecture.

Relevant technologies used:

— apollo client
— graphql
— react native
— nodejs
— redux

As a programmer I am always inclined to prioritise technical detail and `just making things work`.
One of the techniques to prevent building monolithic code bases closed to expansion is constant refactoring.

An architecture trick I picked up from developing Domain Driven Design is to twick the questions. When refactoring, I would usually ask myself “what does this object do ?”, …


Although more than half year has passed away, it really seems like not long ago that I started thinking about how best to development an api using the best tools available at the moment.

Best part about all this process is discussing it with your team and putting layers in place according to your knowledge and ability as a team.

Graphql vs Rest API

We were really proud to realise that GraphQl would solve so many of our problems up front and given that around here we are in love with graph data, the fact that the request looks a lot like a graph traversal gave us hope of familiarity. …


Looking for the new hit or sticking with your known language ?

Is this one of the big questions you are looking to get an answer to ?

First and foremost I want to begin with a saying that most programmers overlook: “A programming language is worth learning if it changes your way of thinking”.

With that in mind I want to make some people question they alegiance to a certain programming language. I gather impressions and knoledge from people around me out of curiosity from time to time. I was surprised to hear from some of the programmers I was looking up to, that they don’t really consider any other programming language.

One friend tried to convince me by sharing a experience with one of his boses, I wise person I recogn, but no way he was near a world class programmer. Maybe he had some people working for him that after they quit working for him, evolved into this great programmers. …

Decebal Dobrica

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store