SQL Injection Attacks

Introduction The number one threat to web applications and websites in 2017 and 2013 was SQL injection attacks. That’s according to The Open Web Application Security Project (OWASP) Foundation, a non-profit security community that supports the development of secure web applications. The more DBAs and web application developers know about SQL injections, the better they … Continued

How to Use Redis Go Client go-redis/redis with GoLang

Introduction Go-Redis is one of the most popular clusters for Redis, consistently receiving high marks and positive reviews from users. Go-Redis is a Redis client able to support a Redis cluster and is a Go language execution of the Redis client based on Redigo. Go-Redis is designed to store and update slot info automatically with … Continued

How to Use Redis Go Client Redigo with GoLang

Introduction The Go language (GoLang) helps developers increase productivity because it’s an easy-to-learn programming language that’s suitable for many applications in a variety of industries. GoLang is compatible with other popular programs too. One worth mentioning is Redigo, a Redis Go client. It works seamlessly with GoLang. Among its main benefits is its ability to … Continued

Mongoose Drop Collection If Exists

How to drop a collection if exist using mongoose in MongoDB? From the title, it is clear that we are going to add some checks to avoid duplicate collection available in the database. This is a very important concept which almost needs to be used by every developer. This concept is really becoming a required thing … Continued

How to Construct MongoDB Queries from a String using Golang

Introduction to Creating MongoDB queries and filters in Golang This tutorial will explain how to perform MongoDB queries with Golang. The article will cover how to create bson.M (BSON map) objects from raw JSON strings and from primitve.M BSON objects as well as how to pass those objects to the Golang driver’s method calls to … Continued

Check If An Elasticsearch Index Exists Using The Golang Olivere Driver

Introduction The Go language (Golang) Olivere driver is the power source behind intricate querying in Elasticsearch and speedy responses. If you learn that an Elasticsearch Index doesn’t exist after you’ve tried to add or change the data in a document, an error will be returned. While scripting isn’t error-free, there is something you can do … Continued

How to Use Redis Datatypes in PHP Part 2

Introduction This is part two in the tutorial series “How to use Redis Datatypes with PHP.” Part one of this series covered how to use GET, SET and EXISTS and examined how to use PHP to interacts with Redis elements. Part two will focus on how to use the hash commands for Redis. Hashes are … Continued

How to Use Redis Datatypes in PHP Part 1

Introduction When it comes to storing and manipulating complex data structures in memory, Redis is the natural choice. This in-memory data structure server, or key-value store, allows you to work with structures such as maps, lists, sets and much more. In this article, we’ll look at some of these datatypes and talk about how to … Continued

How to Use Redis in PHP

Introduction If you’re looking for a structured solution for storing data in memory, Redis may be the ideal choice. Redis is an open-source, in-memory data structure server, or key-value store. Its name is an abbreviated version of the phrase “Remote Dictionary Server”. What sets Redis apart from other key-value databases is its unique ability to … Continued

How to Set-up Replication in Redis

Introduction This tutorial will explain how to perform the Redis set-up replication. Redis is an open-source data structure store designed to complete most requests in under a millisecond. This permits just one server to handle millions of simultaneous requests each second. Redis employs RAM for data storage to deliver nonpareil performance. However, RAM is volatile … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.