Remove c
article thumbnail

Redis vs. Memcached – 2021 Comparison

Scalegrid

Redis stands for REmote DIctionary Server, created in 2009 by Salvatore Sanfilippo. Both Redis and Memcached are: NoSQL in-memory data structures Written in C Open source Used to speed up applications Support sub-millisecond latency In 2014, Salvatore wrote an excellent StackOverflow post on […].

article thumbnail

Why you should benchmark your database using stored procedures

HammerDB

HammerDB has always used stored procedures as a design decision because the original benchmark was implemented as close as possible to the example workload in the TPC-C specification that uses stored procedures. Additionally, reviewing official TPC-C full disclosure reports highlighted that all vendors also use stored procedures.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

Concatenating our files on the server: Are we going to send many smaller files, or are we going to send one monolithic file? Concatenate Concatenation is probably the trickiest bit to get right because, even though the three C s happen in order, decisions we make later will influence decisions we make back here. Back in the HTTP/1.1

Cache 291
article thumbnail

bpftrace (DTrace 2.0) for Linux 2018

Brendan Gregg

Screenshot: tracing read latency for PID 181: # bpftrace -e 'kprobe:vfs_read /pid == 30153/ { @start[tid] = nsecs; } kretprobe:vfs_read /@start[tid]/ { @ns = hist(nsecs - @start[tid]); delete(@start[tid]); }'. Here's a comparison for an average-sized DTraceToolkit script (seeksize.d) ply is also C, whereas bpftrace is C++. #

C++ 110
article thumbnail

bpftrace (DTrace 2.0) for Linux 2018

Brendan Gregg

Screenshot: tracing read latency for PID 181: # bpftrace -e 'kprobe:vfs_read /pid == 30153/ { @start[tid] = nsecs; } kretprobe:vfs_read /@start[tid]/ { @ns = hist(nsecs - @start[tid]); delete(@start[tid]); }'. Here's a comparison for an average-sized DTraceToolkit script (seeksize.d) ply is also C, whereas bpftrace is C++. #

C++ 40
article thumbnail

PostgreSQL Connection Pooling: Part 4 – PgBouncer vs. Pgpool-II

Scalegrid

In our final post, we will put them head-to-head in a detailed feature comparison and compare the results of PgBouncer vs. Pgpool-II performance for your PostgreSQL hosting ! However, these must be set up outside the PostgreSQL system, while PgBouncer can offload this to the PostgreSQL server. PostgreSQL Connection Pooling Series.

article thumbnail

The Speed of Time

Brendan Gregg

A Cassandra database cluster had switched to Ubuntu and noticed write latency increased by over 30%. This server is spending about a third of its CPU cycles just checking the time! As (C) looked like a kernel rebuild, I started with (D) and (E). ## 5. What on Earth is Ubuntu doing that results in 30% higher CPU time!?

Speed 126