Skip to main content

Instantly Push Feature Flag Changes to Clients

· 2 min read
Gergely Sinka
"Not all code paths return a value." - VS

There is a way to stream feature flag and configuration changes to the clients right when they happen. In some cases ConfigCat's pull based architecture does not completely satisfies the requirements when microservices need the latest values instantly, or mobile apps where polling sometimes is a battery consuming anti-pattern.

TL;DR

Your application subscribes to a PubNub channel to get updates about changes. And use ConfigCat Webhooks to notify PubNub when a feature flag value gets updated.

Sample application in Node.js.

push-noti

User Targeting with Semantic Versioning Now Available

· One min read
Gergely Sinka
"Not all code paths return a value." - VS

Satisfying the feature request of our customers from the mobile app development industry, ConfigCat now supports semantic version (SemVer) based user targeting. Typical use case where app builders wish to enable or disable features based on the iOS or Android version on the device their app is running on. For example deciding if 2.3.40 is less than or equals 2.30.4 sometimes not that straightforward by only using the traditional < > = comparators.

semver-menu

Announcing the ConfigCat Ruby SDK. Yaaaaaay!

· 2 min read
Endre Toth
Large scale enterprise development expert. The father of our SDKs and infrastructure.

We'd like to make ConfigCat available for as many users as possible. Our SDKs are available in multiple languages. But still lots of our users missed Ruby support in ConfigCat:

  • Does configcat have Ruby sdk??
  • So I am sad you don’t have a Ruby client I can see.
  • Are you planning to support Ruby?

The Ruby SDK

Finally we decided to create a standalone Ruby SDK.
Ruby is an interpreted language. It's very similar to Python and we already have an SDK written in Python. Taking advantage of this, the first idea was that we simply convert our Python code to Ruby and everything will be just fine.

Two-Factor Authentication (2FA) in ConfigCat

· One min read
Gergely Sinka
"Not all code paths return a value." - VS

What is 2FA?

2FA is a way of granting access to users only after presenting two separate pieces of evidence (factors). One of these factors is usually a password which the user should know and the other factor something they have or even something they are. This way you can be sure that only knowing your password won't be enough for an attacker to gain access to your account.

How does 2FA work in ConfigCat?

In our case the first factor is password you use to login to ConfigCat Dashboard. The second factor is a 6-digit number generated via an Authenticator App.

How to use feature flags through a proxy?

· 2 min read
Zoltan David
One with a vision, answers and a master plan.

As feature flags are getting popular, an ever-growing number of developers are facing the challenges associated with them.

No matter if you implement your own feature flag library, or choose a hosted feature flag service like ConfigCat, chances are high you want to use your feature flags in your frontend and in your backend services as well.

If your feature flags can be toggled on a central feature flag dashboard, such as

Feature flag key naming best practices

· 2 min read
Zoltan David
One with a vision, answers and a master plan.

"Thank you guys, you rock."

We love to get emails like the one above. And sometimes we do. 😃 Actually, more often than I've ever dared to imagine.

Part of the reason our users love us (well, when they do) are those million little tweaks we do to our feature flag service on a daily basis.

Normally we don't share those little tweaks and updates