Recent Topics

grcp_communication
Setup Guides
Smitha Crystal

Effect of gRPC communication into multi-player gaming frameworks

gRPC’s secret recipe lies in the way serialisation is handled. Internally gRPC uses binary messaging using protocol buffers which runs on top of HTTP/2. So gRPC is a strongly typed, polyglot communication protocol that allows us to build request – response , style synchronous communication, as well as we can use duplex streaming.

Read More »
gRPC
gRPC
Sougata P.

How to implement bi-directional streaming using gRPC with NodeJS (Client) – Part 2

In our previous tutorial, we have built a server to handle the bi-directional streams. Here we will build a bi-directional streaming client for the same with NodeJS. In order to implement the following tutorial, we need to have NodeJS 14+ installed on your system and the bi-directional gRPC streaming server is running successfully on the system. As the server is running as a part of the prerequisite so we will assume that all the required dependencies have been installed on the system.

Read More »
gRPC
gRPC
Sougata P.

How to implement bi-directional streaming using gRPC with NodeJS (Server) – Part 1

gRPC also provides a unique capability for bi-directional streaming which could be used for any use cases starting from Chat server, persistent service-to-service connection, and lots more. Today we will learn how to implement bi-directional streaming using gRPC with NodeJS. We will build a bi-directional streaming server and client to create an article management application that will allow us to create articles in bulk using streaming.

Read More »
MongoDB v/s DocumentDB
Architecture Design
Smitha Crystal

Pros & Cons of MongoDB 4.x vs DocumentDB 4.x

MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. MongoDB’s document model is simple for developers to learn and use, while still providing all the capabilities needed to meet the most complex requirements at any scale. They provide drivers for 10+ languages, and the community has built dozens more.

Read More »
HTTP/2
Architecture Design
Team Techunits

Introduction to HTTP/2

HTTP/2 works very similarly from the client perspective. We can still make GET requests, POST requests etc, and also we are still using a single TCP connection. But here we ended up using this single TCP connection, very efficiently. The client in this scenario , shoves as many requests at the same time into this pipe .This is called multiplexing.

Read More »
Protocol Buffers
Architecture Design
Team Techunits

Introduction to Protocol Buffers

A proto file is a schema definition about your messages and your structured data. This proto file will need to be converted to X language file. Google has built a compiler called protoC, to this you will need to feed it, what language you want the output to be, and it will output that equivalent language. If you give javascript, the protoC will give you a javascript equivalent file, in case you give it a python, it will give you a python file with the same schema. That is why it is language neutral.

Read More »
deno-vs-nodejs
Setup Guides
Smitha Crystal

Rival or Ally: Deno vs nodeJs

Both Deno and Nodejs are created by Ryan Dahl. It simply exists to run javascript outside of a browser among having other similarities. Then what is the need for Deno ? how did it come into existence ? Do we need to choose Deno over nodejs ?

Read More »
Neptune v/s Neo4J
Architecture Design
Smitha Crystal

Comparison of Amazon Neptune v/s Neo4j

A graph database is an optimised database to store highly connected dataset. When the relationships between entities are at the core of data that you are trying to model, graph databases are a natural choice.

Read More »
Neo4J Console
Setup Guides
Sougata P.

Setup guide for Neo4j graph database on Ubuntu 20.04 LTS

In modern web graph database became the part of most of the connected applications. This provides ease of creating and track relations between different entities of the business. It’s not only limited to social media applications but also different other domains e.g. Recruitment, Finance, Banking as lots more. Now let’s try to build our first graph application using the Neo4J graph database on Ubuntu 20.04 LTS 64 bit environment.

Read More »
cuDF Blazing SQL
Architecture Design
Smitha Crystal

GPU Accelerated Database Query using cuDF and BlazingSQL

A GPU – Graphics Processing Unit is a specialised processor with dedicated memory that conventionally performs floating point operations (Mathematical) required for rendering graphics. Hence, GPU frees up CPU cycles for other jobs. A GPU is smaller than a CPU but tends to have more logical cores. Which is why – GPU is better equipped to handle this operation as it is able to execute multiple logical operations in parallel.

Read More »
REST v/s gRPC
Architecture Design
Smitha Crystal

An extensive comparison between REST & gRPC | Performance should come first

gRPC is an acronym for Google Remote Procedure Call. It uses HTTP/2 protocol , however HTTP is not exposed to the API designer. The information is delivered using protobufs. The client here uses gRPC by having to decide which procedure to call and also uses the code generated stub to make a call and passes the expected parameter values. The client application communicates with the server on a different machine by directly making a method call like it were a local object.

Read More »
WebSockets v/s gRPC
Architecture Design
Smitha Crystal

Exclusive comparison between WebSockets and gRPC

Websockets defines an API establishing “socket” connections between a web browser and a server. It is a communication protocol, which allows to open a two-way interactive communication session between the user’s browser and a server. With this API, you can send messages to a server and receive event-driven responses(server side events) without having to poll the server for a reply.

Read More »
MoCherry
Shubhadip D.

MoCherry: Build REST webservice using CherryPy & MongoDB | Part 3

In our previous tutorial, we have provided guide to install and run your very first project with MoCherry – The CherryPy MongoDB REST webservice engine. Here we will explain to create a sample REST based webservice with the framework.

We have to build an article management system where users can create / list / view / update / delete articles based using REST webservice.

Read More »
MoCherry
Shubhadip D.

MoCherry: Build REST webservice using CherryPy & MongoDB | Part 2

In our previous tutorial we have explained, why we have started building MoCherry and how it will help developers to build REST webservices seamlessly with CherryPy with MongoDB support. Here we will demonstrate a step by step guide to build REST based CRUD operations using MoCherry framework.

Currently, MoCherry is not available from python pip repository directly. So we can use direct github link to install MoCherry and all it’s required dependencies to our system or virtualenv.

Read More »
Julia - Programming Language
Setup Guides
Debojyoti C.

Introduction to Julia

Julia is a fairly new programming language that is creating a lot of buzz in the field of technical and scientific computing. But don’t be raising your brows after reading the terms like scientific computing, it can also be used for general purpose and web programming.

In the year 2009 by Jeff Bezanson, Stefan Karpinski, Viral B. Shah under the supervision of Prof. Alan Edelman started to develop Julia at MIT (Massachusetts Institute of Technology). Later, in the year 2012 it was released for public use.

Read More »
Python
Python
Sougata P.

Newest features in Python 3.8 for Python beginners

Python has been developed initially in 1991 and since then it has gradually evolved into the version 3.x. Most of us used python 2.7.x for a long time for different projects which is now came to the end of his lifecycle from 2020 onwards.

In the most recent release of python version 3.8, it has incorporated a set of kool features as an advancement. We will discuss a few of them below: Robust Function Arguments types, Reversible dictionary, Improved readability on Assignment expressions, f-string: elegant string formatting syntax, etc.

Read More »
GoLang
Tutorials
Sougata P.

Introduction to GoLang Web Framework: Revel – Part 1

Revel is a high-productivity, extremely flexible web framework for the Go language which provides routing, parameter parsing, validation, session/flash, templating, caching, job running, a testing framework, and even internationalization and lots more. Revel provides the flexibility of custom Server, Session and Template engines. Here we will explain the steps to setup Revel development environment and build a sample REST webservice.

Read More »
GoLang
Tutorials
Sougata P.

GoLang Tutorials for Beginners | Step by Step Guideline | Value & Pointer Receiver Methods | Part 2

In GoLang, we have a way to by which we can achieve similar functionality like class and methods using Structs and associated methods. Though these methods are not defined within the struct rather they’re associated with the struct. We can either let these methods just access data via working as a copy of the struct which is called Value Receivers, or we can actually point through and modify the original struct which is called Pointer Receivers. In terms of performance, Pointer Receivers are more efficient as they don’t copy the whole struct again into the local scope. thus generating less garbage to cleanup.

Read More »
GoLang
Tutorials
Sougata P.

GoLang Tutorials for Beginners | Step by Step Guideline | Part 1

GoLang is an open-source programming language developed at Google by Robert Griesemer, Rob Pike and Ken Thompson. It’s statically typed, compiled programming language and syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style(Communicating Sequential Processes) concurrency. Now we will try to learn some basics so that we can get started with our journey with GoLang.

Read More »
Automated Testing
Ankur R.

Step by step guide to install and run Cypress on local machine

Cypress is a next generation front end testing tool built for the modern web. Cypress is not constrained by the same restrictions as Selenium and is both fundamentally and architecturally different. Cypress can test anything that runs in a browser. Cypress consists of a free, open source, locally installed Test Runner and a Dashboard Service for recording your tests.

Read More »

We at Techunits RnD team dedicate ourself towards unveiling bleeding edge technologies in the fields of Data Science, Neural Networks,  Machine Learning and lots more. Join us now for some exciting discovery, discussion and submissions!

About

  • Team
  • Community
  • Archive
  • Collaborate with us
  • Publish your Work

Popular

  • Convolutional Neural Network
  • Sentiment classification
  • Emotional classification
  • Deep-Text generator
  • A/B Testing

Downloads

  • Pre-Trained Glove Vectors
  • Word2Vec pre-Trained Vectors
  • Pre-processed Datasets

© 2019 by Techunits | All rights reserved