Coder's Revolution

Do you want a revolution?

Category Filtering: 'Performance'

Intro To Couchbase For Caching And NoSQL - Webinar Tues 4/8/2014 1PM EDT

CacheBox, Caching, Performance

I will be presenting on how to get started using Couchbase for caching and NoSQL at a TeraTech webinar next month.  Couchbase is an up-and-coming server that mixes caching capabilities with a NoSQL JSON document store.  It has excellent performance and the best clustering/sharding/failover setup I've seen.  I'll be demoing the brand new CFML SDK for Couchbase as well as the Ortus Railo Extension.  Here's the session description.


 

nteractive applications have changed dramatically over the last 15 years. Today, they must support millions of users simultaneously and downtime is no longer acceptable. Three mega trends – Big Data, Big Users, and Cloud Computing – are driving the adoption of NoSQL technology over traditional relational SQL.

NoSQL document stores are reinventing the way we design our databases and cache layers. Couchbase open source server is a unique database with unparalleled performance, automatic replication and failover. 
In this webinar:

  • how document databases differ from the traditional RDBMS
  • the benefits and tradeoffs they bring to the table
  • a hands-on look at the new CFCouchbase CFML SDK
  • native caching and session persistence via the Railo Couchbase Extension.
  • Q&A

Register for free Now

0

ColdBox Connection today on CacheBox

Caching, ColdBox, ColdFusion, Performance
Just a friendly reminder about the ColdBox Connection meeting today at noon Central. ColdBox Connection is an online webinar that is held every two weeks by Team ColdBox to showcase a part of the ColdBox Platform and answer your questions. Today's is being hosted by Aaron Greenlee and will be discussing CacheBox, the enterprise caching framework which is baked into ColdBox as well as available as a separate utility for your existing apps. Here is the Connect room: http://experts.adobeconnect.com/coldbox-connection/ Hope you see you there!
0

Generating Primes Revisited: My Modifications To The Sieve of Eratosthenes

ColdFusion, Java, Mathmatics, Performance
In a recent pissing match between ColdFusion and PHP, Jared Rypka-Hauer was demonstrating the performance of a function that generated prime numbers. The discussion really wasn't about the BEST prime generator as much as it was about how much ColdFusion can kick PHP's puny butt all over town. Never the less, I piped up in the comments to ask Jared to compare a prime number generator that I wrote a while back based on the Sieve of Eratosthene. After Jared asked some good questions about how my code worked I figured it was time I stopped high-jacking the comments of the PHP pooper train. I decided to spin off a new post to highlight some significant performance gains I was able to produce.
0

BlogCFC Code Formatting Not Thread Safe (With Example)

ColdBox, ColdFusion, Object Oriented Design (OOP), Performance, Security
I found an interesting little bug in the BlogCFC implementation of ColdFISH today. ColdFISH is a ColdFusion code formatting component that is instantiated once and cached as a singleton in the application scope in BlogCFC. The problem is, ColdFISH looks like it wasn't intended to be used as a singleton. It makes use of the variables scope to store the Java StringBuffer class it uses to gather up your formatted code as well as a number of other variables used to parse the code it is formatting. This means when two or more people hit a BlogCFC entry with larger code samples, race conditions exists.
3

Give Your Opinion, Get SeeFusion For Free

ColdFusion, General, Performance, SeeFusion
Our friends at Webapper are giving away free copies of SeeFusion (an awesome ColdFusion server monitoring tool) to the first 100 200 people to take their survey on ColdFusion consulting. Go check out here: http://www.webapper.com/blog/index.php/2009/11/25/coldfusion-survey/ UPDATE: Webapper is now going to give away SeeFusion to the first 200 people to take their survey. Can't beat that!
2

Google AdSense Servers Tripling My Traffic?

General, Google, JavaScript, Performance
I threw some AdSense ads on my site the other day. I don't think I'll be getting rich any time soon though. I'm up to 58 cents so I figure I'll be seeing a check from Google in about 8 years. :) Anyway, while troubleshooting an error in my blogCFC I noticed I kept getting each error E-mail three times. Looking at the User Agent showed that "Mediapartners-Google" was hitting every URL I hit twice. Incidentally, I have two Google ads on every page of my site.
2

MS SQL Server Table Variable And Nested Select Gotcha (Bug?)

Performance, SQL
My coworker found this interesting little SQL Server behavior today that was quite startling at first glance. It's like punching 2 + 2 into your calculator and having the result come back as 5. After pin-pointing the cause for the behavior, it ALMOST makes sense... except for the fact that it doesn't make sense at all. It involves a randomized sub-select and table variables.
7

How To Get The SQL Server SPID Out Of SeeFusion

ColdFusion, Performance, SeeFusion, Server Administration, SQL
I've never kept too quiet about my affection for SeeFusion as a ColdFusion monitoring tool. I use it for debugging, performance monitoring, and basic metrics gathering. Here's an old note on the JDBC URL wrappers that I found myself digging up last week. I don't even think you can find this nugget on the official SeeFusion site.
0

ColdFusion UDF: Calculate A Number's Divisors

ColdFusion, Mathmatics, Performance
Here's another UDF I was tinkering with last week. I wanted to be able to count all of the numbers that divided evenly into a given integer. I couldn't find a ColdFusion implementation, so after getting some advice from Stack Overflow I created my own.
0

Calculate Prime Numbers: Sieve of Eratosthenes

ColdFusion, Mathmatics, Performance
Ahh... the quintessential math problem-- finding prime numbers. Last week while tinkering with a math challenge I needed to find all of the primes up to a given number. There was a version on cflib.org, but I thought I could do it in less code, so I dug in myself.
4