content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
branch
large_stringclasses
4 values
source
large_stringclasses
51 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
as possible. This is by far the most stressful test for the system. .. image:: images/bench\_tcp\_crr\_32\_processes.png This benchmark outlines major differences between the tested configurations. In particular, it illustrates the overall cost of iptables which is optimized to perform most of the required work per con...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/benchmark.rst
main
cilium
[ 0.01784392073750496, -0.0019342298619449139, -0.001589578459970653, 0.042413994669914246, 0.06368999928236008, -0.0999314934015274, 0.009555302560329437, 0.02062126435339451, -0.0034525799565017223, 0.011732857674360275, -0.029813922941684723, -0.07167666405439377, -0.0200884398072958, -0....
0.097101
are performed using standardized configuration. Upon popular request, we have included measurements for Calico for direct comparison. ============================ =================================================================== Configuration Name Description ============================ =============================...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/benchmark.rst
main
cilium
[ 0.03933926299214363, 0.00016704977315384895, -0.013369619846343994, -0.03159791976213455, -0.05065790191292763, -0.06275434046983719, -0.09369967877864838, 0.004893937148153782, -0.029382267966866493, -0.027226973325014114, 0.008999292738735676, -0.1394152194261551, -0.005064347758889198, ...
0.171267
in tunneling (:ref:`arch\_overlay`) mode: .. code-block:: shell-session $ ansible-playbook -e mode=tunneling -i packet-hosts.ini playbooks/install-k8s-cilium.yaml $ ansible-playbook -e conf=vxlan -i packet-hosts.ini playbooks/run-kubenetbench.yaml The first command configures Cilium to use tunneling (``-e mode=tunnelin...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/benchmark.rst
main
cilium
[ -0.013949811458587646, 0.040044791996479034, -0.06096689775586128, -0.009665129706263542, -0.04242607578635216, -0.047562409192323685, -0.05426953732967377, 0.03092450276017189, 0.03708282858133316, 0.047270435839891434, -0.0065114544704556465, -0.0231257826089859, -0.039164360612630844, -...
0.128405
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_performance\_tuning: \*\*\*\*\*\*\*\*\*\*\*\* Tuning Guide \*\*\*\*\*\*\*\*\*\*\*\* This guide helps you optimize a Cilium installation f...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ 0.04943101108074188, -0.0023004391696304083, -0.0790485367178917, -0.0028251949697732925, 0.026286566630005836, -0.08530277758836746, -0.07001006603240967, 0.03335271403193474, -0.04703459516167641, -0.04915458709001541, 0.010732396505773067, -0.041619304567575455, 0.038529232144355774, -0...
0.159058
netkit configuration -------------------- netkit can be enabled by modifying ``bpf.datapathMode`` to one of the following values. ======================= ======================================================================================= Datapath Mode Value Description ======================= ======================...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ -0.006233209744095802, -0.02532045543193817, -0.036345332860946655, -0.020991940051317215, -0.02199813351035118, -0.008045243099331856, 0.020988639444112778, -0.008360263891518116, -0.10630336403846741, -0.011606532149016857, 0.012018386274576187, -0.04833988845348358, -0.03132447227835655, ...
0.01117
\_ipv6\_big\_tcp: IPv6 BIG TCP ============ IPv6 BIG TCP allows the network stack to prepare larger GSO (transmit) and GRO (receive) packets to reduce the number of times the stack is traversed which improves performance and latency. It reduces the CPU load and helps achieve higher speeds (i.e. 100Gbit/s and beyond). T...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ -0.024109182879328728, 0.02540646679699421, 0.016248216852545738, -0.041202910244464874, -0.026160456240177155, 0.015141033567488194, -0.05057596042752266, 0.04452240839600563, 0.015501181595027447, -0.020418673753738403, -0.015986956655979156, 0.05889086425304413, -0.07505232840776443, -0...
0.1769
GSO/GRO maximum sizes are less than 192k it will try to increase them, respectively when BIG TCP is disabled and the current maximum values are more than 64k it will try to decrease them. BIG TCP doesn't require network interface MTU changes. .. note:: In-place upgrade by just enabling BIG TCP on an existing cluster is...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ 0.028870927169919014, -0.015163988806307316, 0.02020224742591381, -0.03504469245672226, -0.04532638564705849, -0.03843863680958748, -0.09735257178544998, 0.006403492763638496, -0.08286885917186737, -0.00376446102745831, -0.03481593728065491, -0.03993460163474083, -0.033117618411779404, -0....
0.147508
consider increasing the queue size (hubble-event-queue-size) or provisioning more CPU" subsys=hubble By default the Hubble event queue size is ``#CPU \* 1024``, or ``16384`` if your nodes have more than 16 CPU cores. If you encounter event bursts that result in dropped events, increasing this queue size might help. We ...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ 0.10382811725139618, 0.023099742829799652, 0.03512491658329964, -0.019039830192923546, 0.03368942812085152, -0.01625857502222061, -0.07385283708572388, 0.055182453244924545, 0.019775614142417908, 0.0186323095113039, -0.025535661727190018, -0.01865546591579914, -0.007825682871043682, -0.073...
0.067771
might be impacted due to dropped events. To enable eBPF Event Rate Limiting with a rate limit of 10,000 and a burst limit of 50,000: .. tabs:: .. group-tab:: Cilium CLI .. parsed-literal:: cilium install |CHART\_VERSION| \\ --set bpf.events.default.rateLimit=10000 \\ --set bpf.events.default.burstLimit=50000 .. group-t...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ 0.0560590922832489, 0.006131875794380903, -0.006494711618870497, -0.01073019951581955, 0.03632662817835808, -0.02211153320968151, -0.035190682858228683, 0.04678541421890259, 0.03725961223244667, 0.02255992405116558, 0.022150682285428047, -0.14253997802734375, -0.049962230026721954, -0.0659...
0.141701
suitable when Pods are exposed behind Kubernetes Services which face external clients from the Internet. BBR achieves higher bandwidths and lower latencies for Internet traffic, for example, it has been `shown `\_ that BBR's throughput can reach as much as 2,700x higher than today's best loss-based congestion control a...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ -0.009916934184730053, -0.033003777265548706, 0.016049783676862717, -0.008473789319396019, -0.03917310759425163, -0.03915800899267197, -0.04626638442277908, -0.02109852433204651, 0.008751243352890015, 0.036530740559101105, -0.03857565298676491, -0.019789135083556175, -0.05748523399233818, ...
0.187359
to a distributed per-CPU memory pool helps to avoid spinlock contention in the kernel under stress (many CT/NAT element allocation and free operations). The trade-off is higher memory usage given the per-CPU pools cannot be shared anymore, so if a given CPU pool depletes it needs to recycle elements via LRU mechanism. ...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ 0.06711512804031372, -0.008257885463535786, -0.04386904463171959, -0.07251805067062378, 0.0051482068374753, 0.00010162528633372858, -0.0676337480545044, 0.045132819563150406, 0.020271172747015953, 0.00312389456667006, 0.04912176355719566, -0.03852583095431328, -0.026410333812236786, -0.079...
0.160234
If your cilium daemonset uses a host port (e.g. if prometheus metrics are enabled), ``kube-scheduler`` guarantees that only a single pod with that port/protocol is scheduled to a node -- effectively offering the same guarantee provided by the inter-pod anti-affinity rule. To leverage this, consider using ``--set schedu...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/tuning.rst
main
cilium
[ 0.026342948898673058, 0.0162141602486372, -0.006971744820475578, -0.02291761338710785, -0.019873008131980896, -0.10438532382249832, -0.06462065130472183, -0.04059986025094986, 0.018007853999733925, 0.010754361748695374, -0.013333224691450596, -0.0597420372068882, 0.004630519077181816, -0.0...
0.142676
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_identity-relevant-labels: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Limiting Identity-Relevant Labels \*\*\*\*\*...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/scalability/identity-relevant-labels.rst
main
cilium
[ -0.024077115580439568, 0.08346251398324966, -0.059721652418375015, -0.06693107634782791, 0.011218717321753502, 0.006724529899656773, 0.09613784402608871, -0.0354338102042675, 0.13014201819896698, -0.011040537618100643, 0.04128456488251686, -0.12376304715871811, 0.04624025523662567, -0.0160...
0.252545
the Agent is managing identities, restart the Cilium Agents to pickup the new label pattern. .. code-block:: shell-session kubectl rollout restart -n kube-system ds/cilium .. note:: Configuring Cilium with label patterns via ``labels`` Helm value does \*\*not\*\* override the default set of label patterns. That is to s...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/scalability/identity-relevant-labels.rst
main
cilium
[ -0.012261037714779377, 0.07213539630174637, -0.06908660382032394, -0.041627056896686554, -0.05095165967941284, 0.003530794521793723, 0.049291469156742096, -0.015167398378252983, 0.11841990053653717, -0.03879315406084061, 0.0329253114759922, -0.11930694431066513, -0.00015557573351543397, -0...
0.176548
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_scalability\_guide: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Scalability report \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* This report is intended ...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/scalability/report.rst
main
cilium
[ 0.015634316951036453, 0.03916916623711586, -0.07729432731866837, -0.015109006315469742, 0.021348651498556137, -0.03699326887726784, -0.10672155022621155, 0.05404210835695267, 0.00021215098968241364, -0.011233004741370678, 0.03288332372903824, -0.0967913269996643, 0.04434174299240112, -0.05...
0.166941
used Prometheus v2.18.1 and Grafana v7.0.1 to retrieve and analyze ``etcd``, ``kube-apiserver``, ``cilium`` and ``cilium-operator`` metrics. ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3. Provision 2 worker nodes ^^^^^^^^^^^^^^^^^^^^^^^^^^^ This helped us to understand if our testing cluster was correctly provisioned and all metrics w...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/scalability/report.rst
main
cilium
[ -0.02793559432029724, -0.04777243360877037, 0.021159550175070763, 0.007635394111275673, -0.03449485823512077, -0.09141994267702103, -0.07634475827217102, -0.06257414817810059, -0.06800193339586258, 0.03231075033545494, 0.021283473819494247, -0.0878758504986763, -0.006225360091775656, -0.00...
0.211135
\* Cilium Operator had a stable 5% CPU consumption while the pods were being created. .. figure:: images/image\_7\_02.png Similar to the behavior seen while increasing the number of worker nodes, adding new pods also increases Cilium memory consumption. \* As we increased the number of pods from 250 to 50000, we saw a ...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/scalability/report.rst
main
cilium
[ 0.08244563639163971, -0.005736115388572216, -0.036731403321027756, 0.031493935734033585, -0.015096143819391727, -0.061811819672584534, -0.04311002045869827, 0.06993686407804489, -0.04302540048956871, 0.04284874349832535, 0.033965662121772766, -0.03832036256790161, 0.00851547159254551, -0.0...
0.254077
to the creation of the previous 250 CNPs, there was also an increase in CPU usage during the creation of the CCNPs. The CPU usage was similar even though the policies were effectively selecting more pods. .. figure:: images/image\_9\_03.png As all pods running in a node are selected by \*\*all 250 CCNPs created\*\*, we...
https://github.com/cilium/cilium/blob/main/Documentation/operations/performance/scalability/report.rst
main
cilium
[ -0.01579286716878414, -0.025045223534107208, 0.0491238571703434, -0.018217509612441063, 0.041894033551216125, -0.022373661398887634, -0.0008954802760854363, -0.006071740295737982, 0.02369864657521248, 0.0742458701133728, 0.05036497861146927, -0.02505555748939514, -0.014364643022418022, -0....
0.178138
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_hubble\_internals: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Hubble internals \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* .. note:: This documentation sectio...
https://github.com/cilium/cilium/blob/main/Documentation/internals/hubble.rst
main
cilium
[ 0.01656021550297737, 0.013790320605039597, -0.03755459561944008, -0.04230957105755806, 0.08965066075325012, -0.03149048984050751, -0.08694078773260117, 0.07942679524421692, -0.0015494547551497817, -0.02193405106663704, 0.01523040235042572, 0.03680047020316124, 0.09320397675037384, -0.07409...
0.191732
length is a bit mask of ones + 1. The most significant bit of this bit mask is the same position of the most significant bit position of 'n'. In other terms, the internal buffer size is always a power of 2 with 1 slot reserved for the writer. In effect, from a user perspective, the ring buffer capacity is one less than...
https://github.com/cilium/cilium/blob/main/Documentation/internals/hubble.rst
main
cilium
[ 0.02310882695019245, -0.002830060664564371, -0.09289191663265228, -0.04291120544075966, -0.013339267112314701, -0.06580472737550735, -0.018281206488609314, 0.013627051375806332, 0.11453011631965637, -0.029412997886538506, -0.044485531747341156, 0.10347320884466171, 0.03174375742673874, -0....
0.180872
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_cilium\_operator\_internals: Cilium Operator =============== This document provides a technical overview of the Cilium Operator and descr...
https://github.com/cilium/cilium/blob/main/Documentation/internals/cilium_operator.rst
main
cilium
[ 0.01343284361064434, 0.019908994436264038, -0.05989960953593254, -0.031200973317027092, -0.015484288334846497, -0.019857728853821754, -0.032115813344717026, -0.016226928681135178, 0.08800451457500458, 0.03343367576599121, 0.03104710392653942, -0.05146847665309906, 0.047057364135980606, -0....
0.206936
identities. This garbage collection is necessary because a 16-bit unsigned integer represents the security identity, and thus we can only have a maximum of 65536 identities in the cluster. CRD Identity garbage collection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ CRD identity allocation uses Kubernetes custom resource ``CiliumIde...
https://github.com/cilium/cilium/blob/main/Documentation/internals/cilium_operator.rst
main
cilium
[ -0.013427019119262695, 0.09268400073051453, -0.0263789352029562, 0.0021921591833233833, -0.015175120905041695, -0.01933734305202961, 0.030566131696105003, -0.008314661681652069, 0.1704784631729126, -0.038439344614744186, 0.03890920802950859, -0.08332134783267975, 0.022136542946100235, -0.0...
0.179665
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_security\_identities: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Security Identities \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Security identiti...
https://github.com/cilium/cilium/blob/main/Documentation/internals/security-identities.rst
main
cilium
[ -0.034440744668245316, 0.0402546152472496, -0.11957734078168869, -0.006202005315572023, 0.017372602596879005, -0.0030470164492726326, 0.07775535434484482, 0.04498688131570816, 0.022626101970672607, -0.02423083409667015, 0.05279245972633362, -0.13375574350357056, 0.10049118846654892, -0.042...
0.174624
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_k8s\_install\_quick: .. \_k8s\_quick\_install: .. \_k8s\_install\_standard: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Cilium Qui...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/k8s-install-default.rst
main
cilium
[ 0.020006870850920677, 0.053809262812137604, -0.001413803081959486, -0.08558178693056107, -0.015022198669612408, -0.006674019619822502, -0.046004537492990494, 0.004242323338985443, 0.05891433730721474, -0.017505688592791557, 0.04443329945206642, -0.06480496376752853, -0.006276120897382498, ...
0.14356
as per minikube documentation: `Install Minikube `\_. The following command will bring up a single node minikube cluster prepared for installing cilium. .. code-block:: shell-session minikube start --cni=cilium .. note:: - This may not install the latest version of cilium. - It might be necessary to add ``--host-dns-re...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/k8s-install-default.rst
main
cilium
[ 0.05007573589682579, 0.010695459321141243, -0.01687133125960827, -0.03355666249990463, -0.024655424058437347, 0.007204126566648483, -0.11470310389995575, 0.052393537014722824, 0.038862235844135284, 0.02645636908710003, -0.0025518143083900213, -0.12010703980922699, -0.01625850610435009, -0....
0.095265
issues you can delete ``aws-node`` DaemonSet prior to installing Cilium. .. group-tab:: OpenShift .. include:: ../installation/requirements-openshift.rst \*\*Install Cilium:\*\* Cilium is a `Certified OpenShift CNI Plugin `\_ and is best installed when an OpenShift cluster is created using the OpenShift installer. Plea...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/k8s-install-default.rst
main
cilium
[ 0.0364595465362072, -0.02043337933719158, 0.0065301889553666115, -0.03247635066509247, 0.037583429366350174, 0.005165540147572756, -0.06693639606237411, 0.0019052679417654872, 0.0509936548769474, 0.021042251959443092, 0.028979072347283363, -0.1474819928407669, 0.010408172383904457, -0.0236...
0.138096
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_starwars\_demo: ####################################### Getting Started with the Star Wars Demo ####################################### ....
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/demo.rst
main
cilium
[ -0.0262984000146389, 0.04777095094323158, -0.08148449659347534, -0.07338179647922516, 0.03961572051048279, -0.06244220584630966, 0.043941304087638855, -0.022199485450983047, 0.01565614901483059, 0.015972256660461426, 0.061989884823560715, -0.08051402121782303, 0.034609537571668625, -0.0075...
0.093754
51373 k8s:io.cilium.k8s.policy.cluster=default 10.0.0.47 ready k8s:io.cilium.k8s.policy.serviceaccount=coredns k8s:io.kubernetes.pod.namespace=kube-system k8s:k8s-app=kube-dns 2843 Enabled Disabled 16530 k8s:class=deathstar 10.0.0.89 ready k8s:io.cilium.k8s.policy.cluster=default k8s:io.cilium.k8s.policy.serviceaccount...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/demo.rst
main
cilium
[ 0.02873685583472252, -0.02031462825834751, 0.003509746864438057, -0.07827907055616379, -0.019491642713546753, -0.031321775168180466, -0.03668327257037163, -0.07429588586091995, 0.047849394381046295, 0.072950080037117, 0.011566255241632462, -0.08862456679344177, -0.058450598269701004, -0.03...
0.144285
Generation: 2 Managed Fields: API Version: cilium.io/v2 Fields Type: FieldsV1 fieldsV1: f:description: f:metadata: f:annotations: .: f:kubectl.kubernetes.io/last-applied-configuration: f:spec: .: f:endpointSelector: .: f:matchLabels: .: f:class: f:org: f:ingress: Manager: kubectl Operation: Update Time: 2020-06-15T14:1...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/demo.rst
main
cilium
[ -0.005540050566196442, 0.024988196790218353, -0.060124121606349945, -0.022474564611911774, -0.008621473796665668, -0.034458331763744354, -0.05663253366947174, -0.011711026541888714, 0.08321364969015121, 0.020056018605828285, 0.027091603726148605, -0.12756675481796265, -0.02788832038640976, ...
0.23484
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io \*\*\*\*\*\*\*\*\*\*\* Terminology \*\*\*\*\*\*\*\*\*\*\* .. \_label: .. \_labels: Labels ====== Labels are a generic, flexible and highly sca...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/terminology.rst
main
cilium
[ -0.03505313768982887, 0.046276796609163284, -0.10826579481363297, -0.012712623924016953, -0.0068659293465316296, -0.006160737480968237, 0.07609287649393082, 0.004523852374404669, 0.06347300112247467, -0.05562296509742737, 0.03565996512770653, -0.06859040260314941, 0.05536364018917084, -0.0...
0.279319
node to all bind to well known ports such as ``80`` without causing any conflicts. The default behavior of Cilium is to assign both an IPv6 and IPv4 address to every endpoint. However, this behavior can be configured to only allocate an IPv6 address with the ``--enable-ipv4=false`` option. If both an IPv6 and IPv4 addr...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/terminology.rst
main
cilium
[ -0.011616215109825134, 0.03335224837064743, -0.09602740406990051, -0.04066662862896919, -0.009629996493458748, -0.04408823698759079, -0.05083828419446945, -0.02738131210207939, 0.02281498722732067, -0.059061892330646515, 0.01711626537144184, -0.0005661048926413059, -0.002569093368947506, -...
0.226757
the timestamp when a container was launched. Cilium requires to know which labels are meaningful and are subject to being considered when deriving the identity. For this purpose, the user is required to specify a list of string prefixes of meaningful labels. The standard behavior is to include all labels which start wi...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/terminology.rst
main
cilium
[ -0.05518937483429909, 0.04868520796298981, -0.09814189374446869, -0.01785687543451786, -0.03302498906850815, 0.011116016656160355, 0.06858059763908386, 0.002919910941272974, 0.06969115883111954, -0.09785450994968414, 0.07199376821517944, -0.08882302790880203, 0.02310296893119812, -0.004920...
0.19786
``k8s-app=kube-dns`` core-dns (EKS) kube-system coredns 106 ``k8s-app=kube-dns``, ``eks.amazonaws.com/component=coredns`` cilium-operator cilium-operator 105 ``name=cilium-operator``, ``io.cilium/app=operator`` ======================== =================== ==================== ================= =========== =============...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/terminology.rst
main
cilium
[ -0.027066972106695175, 0.009693056344985962, -0.038295406848192215, -0.08200991153717041, -0.11193593591451645, -0.06383199989795685, -0.08224616199731827, 0.005909180734306574, 0.05954040586948395, -0.029162608087062836, 0.008025724440813065, -0.13442844152450562, -0.024894151836633682, -...
0.18596
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_getting\_help: ############ Getting Help ############ Cilium is a project with a growing community. There are numerous ways to get help w...
https://github.com/cilium/cilium/blob/main/Documentation/gettingstarted/gettinghelp.rst
main
cilium
[ -0.02057010680437088, -0.012824665755033493, -0.04866859316825867, 0.03851310536265373, 0.07031217962503433, -0.057444311678409576, -0.0012248829007148743, 0.055611781775951385, -0.014116223901510239, -0.030781179666519165, 0.036095473915338516, -0.09067594259977341, 0.02977307140827179, -...
0.185285
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io Roadmap ======= The Cilium project is community driven, thus the work that gets done and the project's future roadmap is determined by what wo...
https://github.com/cilium/cilium/blob/main/Documentation/community/roadmap.rst
main
cilium
[ -0.031125538051128387, -0.02139708399772644, 0.012166639789938927, -0.03247790411114693, 0.06527851521968842, -0.055830273777246475, -0.04440765082836151, 0.054035693407058716, 0.03333526477217674, -0.03835373744368553, 0.005663422867655754, -0.03426213562488556, 0.05349595472216606, -0.03...
0.191913
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_community-meeting: Community Meetings ================== The Cilium contributors gather regularly for a Zoom call open to everyone. Durin...
https://github.com/cilium/cilium/blob/main/Documentation/community/community.rst
main
cilium
[ -0.014890742488205433, -0.0394468680024147, -0.0037218702491372824, 0.001636289875023067, 0.0478706881403923, -0.044167328625917435, -0.01956585980951786, 0.0266441460698843, 0.032078854739665985, -0.00173834094312042, 0.008718326687812805, -0.028689511120319366, -0.09416752308607101, -0.0...
0.073273
contributors. To learn more about what they are, how to get involved, or which ones are currently active, please check out the `SIG.md in the community repo `\_
https://github.com/cilium/cilium/blob/main/Documentation/community/community.rst
main
cilium
[ 0.013350204564630985, -0.08157283067703247, -0.005315957125276327, 0.04081552475690842, 0.0387498214840889, 0.0448867529630661, 0.05613919720053673, 0.013740832917392254, -0.016211053356528282, 0.03961819410324097, -0.03191916272044182, 0.010888123884797096, -0.06643251329660416, -0.027827...
0.15238
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_intro: ############################### Introduction to Cilium & Hubble ############################### What is Cilium? =============== Ci...
https://github.com/cilium/cilium/blob/main/Documentation/overview/intro.rst
main
cilium
[ 0.026657825335860252, 0.05054434761404991, -0.10133235901594162, -0.07444862276315689, 0.1257607787847519, -0.05187942832708359, 0.03467654064297676, 0.02356724627315998, 0.043719347566366196, -0.01023531798273325, 0.05167946591973305, -0.038097672164440155, 0.022301925346255302, -0.042612...
0.220003
wherein a large application is split into small independent services that communicate with each other via APIs using lightweight protocols like HTTP. Microservices applications tend to be highly dynamic, with individual containers getting started or destroyed as the application scales out / in to adapt to load changes ...
https://github.com/cilium/cilium/blob/main/Documentation/overview/intro.rst
main
cilium
[ -0.0274487491697073, 0.07904846221208572, 0.010989227332174778, -0.06504534184932709, 0.013631119392812252, -0.06994342058897018, 0.02689162641763687, -0.007233066484332085, 0.03801188990473747, -0.008440379984676838, -0.06861808896064758, 0.000008460820936306845, 0.01060018502175808, -0.0...
0.130096
.. only:: not (epub or latex or html) WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io .. \_component\_overview: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Component Overview \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* .. image:: ../images/ci...
https://github.com/cilium/cilium/blob/main/Documentation/overview/component-overview.rst
main
cilium
[ 0.016687694936990738, -0.00027845337172038853, -0.06468992680311203, -0.028877483680844307, 0.04189123213291168, -0.05563364550471306, -0.04442087188363075, 0.011881504207849503, 0.03706159442663193, -0.023428041487932205, 0.028299421072006226, -0.04553801938891411, 0.0643114522099495, -0....
0.238354
e.g. tcpdump and socket filters. It has since been extended with additional data structures such as hashtable and arrays as well as additional actions to support packet mangling, forwarding, encapsulation, etc. An in-kernel verifier ensures that eBPF programs are safe to run and a JIT compiler converts the bytecode to ...
https://github.com/cilium/cilium/blob/main/Documentation/overview/component-overview.rst
main
cilium
[ -0.026427356526255608, 0.005591161083430052, -0.03435870260000229, -0.06667446345090866, 0.05255413427948952, -0.025150420144200325, -0.029704051092267036, 0.03693224489688873, -0.014484038576483727, -0.0184742733836174, 0.000675789313390851, -0.061948925256729126, -0.03939118608832359, -0...
0.307653
You can install [Redis](https://redis.io/docs/about/) or [Redis Stack](/docs/about/about-stack) locally on your machine. Redis and Redis Stack are available on Linux, macOS, and Windows. Here are the installation instructions: \* [Install Redis](/docs/install/install-redis) \* [Install Redis Stack](/docs/install/instal...
https://github.com/redis/redis-doc/blob/master/docs/install/_index.md
master
redis
[ -0.05773963779211044, -0.13794028759002686, -0.05135459452867508, -0.03540810942649841, 0.02353925071656704, -0.04631580039858818, -0.04114249348640442, 0.004321026615798473, 0.011122495867311954, 0.029573064297437668, 0.04392344132065773, -0.021027222275733948, -0.008698182180523872, -0.0...
0.1032
This guide shows you how to install Redis on macOS using Homebrew. Homebrew is the easiest way to install Redis on macOS. If you'd prefer to build Redis from the source files on macOS, see [Installing Redis from Source](/docs/install/install-redis/install-redis-from-source). ## Prerequisites First, make sure you have H...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/install-redis-on-mac-os.md
master
redis
[ -0.007964318618178368, -0.07331045717000961, -0.06385543197393417, -0.05805288255214691, 0.01779330149292946, -0.04609768092632294, -0.018505770713090897, 0.0108199343085289, 0.028666937723755836, -0.0004113816248718649, -0.03855488821864128, -0.019002610817551613, -0.022215258330106735, 0...
0.067779
Most major Linux distributions provide packages for Redis. ## Install on Ubuntu/Debian You can install recent stable versions of Redis from the official `packages.redis.io` APT repository. {{% alert title="Prerequisites" color="warning" %}} If you're running a very minimal distribution (such as a Docker container) you ...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/install-redis-on-linux.md
master
redis
[ -0.003308388404548168, -0.027160223573446274, -0.05978350341320038, -0.02154509164392948, 0.039916347712278366, -0.06401456892490387, 0.009789718315005302, 0.0062073818407952785, 0.036159321665763855, 0.010238360613584518, -0.02903338521718979, 0.01812042109668255, 0.019343094900250435, -0...
0.042725
Redis is not officially supported on Windows. However, you can install Redis on Windows for development by following the instructions below. To install Redis on Windows, you'll first need to enable [WSL2](https://docs.microsoft.com/en-us/windows/wsl/install) (Windows Subsystem for Linux). WSL2 lets you run Linux binari...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/install-redis-on-windows.md
master
redis
[ -0.029449913650751114, -0.04687514156103134, -0.10622671246528625, 0.00032616627868264914, -0.017479706555604935, -0.031330715864896774, -0.013801516965031624, 0.03808237239718437, 0.006669791415333748, -0.019966162741184235, -0.024511436000466347, 0.0016437112353742123, -0.02723578363656997...
0.055272
You can compile and install Redis from source on variety of platforms and operating systems including Linux and macOS. Redis has no dependencies other than a C compiler and `libc`. ## Downloading the source files The Redis source files are available from the [Download](/download) page. You can verify the integrity of t...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/install-redis-from-source.md
master
redis
[ -0.07754348963499069, -0.03202526271343231, -0.06285957247018814, -0.05068438500165939, 0.006711347959935665, -0.08097071200609207, -0.03895444795489311, -0.010459733195602894, 0.03366038575768471, -0.0018179279286414385, -0.044642578810453415, -0.004832057282328606, 0.015776485204696655, ...
0.004747
This is a an installation guide. You'll learn how to install, run, and experiment with the Redis server process. While you can install Redis on any of the platforms listed below, you might also consider using Redis Cloud by creating a [free account](https://redis.com/try-free?utm\_source=redisio&utm\_medium=referral&ut...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/_index.md
master
redis
[ -0.01795956678688526, -0.11035484075546265, -0.04054921865463257, -0.05389350280165672, -0.006741390097886324, -0.07050899416208267, -0.019910331815481186, 0.031100669875741005, -0.004066687077283859, 0.010790963657200336, 0.013214458711445332, 0.0007162162801250815, 0.0338660329580307, -0...
0.101684
that the instance is not reachable. ## Use Redis from your application Of course using Redis just from the command line interface is not enough as the goal is to use it from your application. To do so, you need to download and install a Redis client library for your programming language. You'll find a [full list of cli...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/_index.md
master
redis
[ 0.011547510512173176, -0.04691589996218681, -0.10854485630989075, 0.012457101605832577, -0.007266749627888203, -0.029807649552822113, -0.023680714890360832, 0.04041247069835663, 0.03928042948246002, 0.020128948614001274, -0.01024746336042881, 0.03608405217528343, 0.045779384672641754, -0.0...
0.053773
port number. \* Copy the template configuration file you'll find in the root directory of the Redis distribution into `/etc/redis/` using the port number as the name, for instance: ``` sudo cp redis.conf /etc/redis/6379.conf ``` \* Create a directory inside `/var/redis` that will work as both data and working directory...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redis/_index.md
master
redis
[ 0.01440864335745573, -0.06046341732144356, -0.1243775486946106, -0.07624644041061401, -0.05792854353785515, -0.030447693541646004, -0.020038483664393425, 0.05240250751376152, -0.025242934003472328, 0.002321334555745125, -0.009788503870368004, 0.019602561369538307, 0.005515875294804573, -0....
0.030812
This tutorial shows you how to install RedisInsight on an AWS EC2 instance and manage ElastiCache Redis instances using RedisInsight. To complete this tutorial you must have access to the AWS Console and permissions to launch EC2 instances. Step 1: Create a new IAM Role (optional) -------------- RedisInsight needs read...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redisinsight/install-on-aws.md
master
redis
[ 0.03192877396941185, -0.07435872405767441, -0.10656822472810745, -0.034815575927495956, 0.0022500657942146063, -0.015465723350644112, -0.03149986267089844, 0.009738398715853691, 0.03145140781998634, 0.030534589663147926, -0.0000592709329794161, -0.060531120747327805, 0.0011774880113080144, ...
0.0639
(`redisinsight` in the command above). Find the IP Address of your EC2 instances and launch your browser at `http://:5540`. Accept the EULA and start using RedisInsight. RedisInsight also provides a health check endpoint at `http://:5540/api/health/` to monitor the health of the running container. Summary ------ In thi...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redisinsight/install-on-aws.md
master
redis
[ 0.11016394197940826, 0.04737265408039093, -0.10362174361944199, 0.02622421458363533, 0.02019156515598297, -0.06267273426055908, -0.03258305415511131, 0.026485124602913857, 0.018333274871110916, 0.016642145812511444, -0.0411863848567009, -0.04154403507709503, -0.022083204239606857, -0.03795...
0.113731
This tutorial shows how to install RedisInsight on [Kubernetes](https://kubernetes.io/) (K8s). This is an easy way to use RedisInsight with a [Redis Enterprise K8s deployment](https://redis.io/docs/about/redis-enterprise/#:~:text=and%20Multi%2Dcloud-,Redis%20Enterprise%20Software,-Redis%20Enterprise%20Software). ## Cre...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redisinsight/install-on-k8s.md
master
redis
[ -0.011184287257492542, -0.07721810787916183, 0.00931849516928196, -0.017797274515032768, -0.057600658386945724, -0.00773435365408659, 0.0011495164362713695, -0.013262835331261158, 0.032469768077135086, 0.022460782900452614, -0.004088586196303368, -0.037657469511032104, -0.0022691290359944105...
0.131001
managing, as defined by the pod template template: #pod template metadata: labels: app: redisinsight #label for pod/s spec: volumes: - name: redisinsight persistentVolumeClaim: claimName: redisinsight-pv-claim initContainers: - name: init image: busybox command: - /bin/sh - '-c' - | chown -R 1001 /data resources: {} vo...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redisinsight/install-on-k8s.md
master
redis
[ 0.031280893832445145, -0.031377002596855164, -0.0218564011156559, 0.035410843789577484, 0.023725176230072975, -0.0015172830317169428, 0.008578651584684849, 0.03544183075428009, 0.028063125908374786, 0.04201580211520195, 0.04612075537443161, -0.024178603664040565, -0.05068487673997879, -0.0...
0.176124
You can configure RedisInsight with the following environment variables. | Variable | Purpose | Default | Additional info | | --- | --- | --- | --- | | RI\_APP\_PORT | The port that RedisInsight listens on | * Docker: 5540* desktop: 5530 | See [Express Documentation](https://expressjs.com/en/api.html#app.listen)| | RI\...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redisinsight/env-variables.md
master
redis
[ -0.006077465135604143, -0.02358597330749035, -0.06908783316612244, 0.02815709076821804, -0.023661760613322258, -0.03587070107460022, -0.05816156044602394, 0.04564481973648071, 0.008943332359194756, 0.023249905556440353, -0.041441041976213455, -0.05822870880365372, -0.020289137959480286, 0....
0.100958
This tutorial shows how to install RedisInsight on [Docker](https://www.docker.com/) so you can use RedisInsight in development. See a separate guide for installing [RedisInsight on AWS](/docs/install/install-redisinsight/install-on-aws/). ## Install Docker The first step is to [install Docker for your operating system...
https://github.com/redis/redis-doc/blob/master/docs/install/install-redisinsight/install-on-docker.md
master
redis
[ 0.0052583785727620125, -0.035413410514593124, -0.03808780014514923, 0.004468034952878952, 0.024753205478191376, -0.004029196687042713, -0.02703404426574707, -0.0019007049268111587, 0.042541831731796265, 0.030692143365740776, -0.012029443867504597, -0.026576334610581398, 0.011309739202260971,...
-0.019451
--- title: "Redis geospatial" linkTitle: "Geospatial" weight: 80 description: > Introduction to the Redis Geospatial data type --- Redis geospatial indexes let you store coordinates and search for them. This data structure is useful for finding nearby points within a given radius or bounding box. ## Basic commands \* ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/geospatial.md
master
redis
[ 0.030392419546842575, 0.03156064823269844, -0.05154750123620033, 0.0206051766872406, 0.008082360029220581, -0.035682953894138336, 0.027034049853682518, -0.006878120359033346, 0.008402817882597446, -0.048173654824495316, -0.009572195820510387, 0.019786298274993896, 0.07882729917764664, -0.0...
0.086702
A Redis sorted set is a collection of unique strings (members) ordered by an associated score. When more than one string has the same score, the strings are ordered lexicographically. Some use cases for sorted sets include: \* Leaderboards. For example, you can use sorted sets to easily maintain ordered lists of the hi...
https://github.com/redis/redis-doc/blob/master/docs/data-types/sorted-sets.md
master
redis
[ -0.04685000330209732, -0.031360894441604614, -0.045150987803936005, -0.0141026321798563, -0.05439871922135353, -0.007659324444830418, 0.010124711319804192, 0.03111291117966175, 0.11643616110086441, 0.027132319286465645, -0.02615544945001602, 0.10180945694446564, 0.054282672703266144, -0.03...
0.146585
1) "Ford" 2) "6" 3) "Sam-Bodden" 4) "8" 5) "Norem" 6) "10" 7) "Royce" 8) "10" 9) "Castilla" 10) "12" 11) "Prickett" 12) "14" {{< /clients-example >}} ### Operating on ranges Sorted sets are more powerful than this. They can operate on ranges. Let's get all the racers with 10 or fewer points. We use the `ZRANGEBYSCORE` ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/sorted-sets.md
master
redis
[ -0.03733627498149872, 0.07342171669006348, -0.059388045221567154, 0.03185809776186943, -0.005703080911189318, 0.03397679701447487, 0.05727319046854973, 0.03245321661233902, -0.05857619643211365, -0.04775061085820198, -0.03639063239097595, -0.0013786006020382047, 0.0903572216629982, 0.00422...
0.069563
the 128 bit space, and get the element's value discarding the prefix. If you want to see the feature in the context of a more serious demo, check the [Redis autocomplete demo](http://autocomplete.redis.io). Updating the score: leaderboards --- Just a final note about sorted sets before switching to the next topic. Sort...
https://github.com/redis/redis-doc/blob/master/docs/data-types/sorted-sets.md
master
redis
[ -0.012265494093298912, -0.027921689674258232, -0.0960269346833229, -0.021179046481847763, -0.0027167880907654762, 0.012307317927479744, 0.033495739102363586, 0.0549539215862751, 0.001723783672787249, 0.030375873669981956, -0.041741929948329926, 0.07214251160621643, 0.10338146239519119, -0....
0.118658
Bitmaps are not an actual data type, but a set of bit-oriented operations defined on the String type which is treated like a bit vector. Since strings are binary safe blobs and their maximum length is 512 MB, they are suitable to set up to 2^32 different bits. You can perform bitwise operations on one or more strings. ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/bitmaps.md
master
redis
[ 0.06124662607908249, 0.06692365556955338, -0.06518448144197464, -0.008159585297107697, -0.011715101078152657, -0.08149047940969467, 0.06083429604768753, 0.00601815665140748, -0.07111410051584244, -0.03172864019870758, -0.057015836238861084, -0.052947621792554855, 0.04684455692768097, -0.01...
0.15449
(integer) 1 {{< /clients-example >}} For example imagine you want to know the longest streak of daily visits of your web site users. You start counting days starting from zero, that is the day you made your web site public, and set a bit with `SETBIT` every time the user visits the web site. As a bit index you simply t...
https://github.com/redis/redis-doc/blob/master/docs/data-types/bitmaps.md
master
redis
[ 0.028313612565398216, 0.09366688132286072, -0.019247183576226234, 0.010356852784752846, -0.064448282122612, -0.0573369637131691, 0.059105776250362396, 0.024641895666718483, -0.017261173576116562, -0.011374762281775475, -0.054251790046691895, -0.04597903788089752, 0.06129808723926544, -0.00...
0.130002
--- title: "Redis Strings" linkTitle: "Strings" weight: 10 description: > Introduction to Redis strings --- Redis strings store sequences of bytes, including text, serialized objects, and binary arrays. As such, strings are the simplest type of value you can associate with a Redis key. They're often used for caching, ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/strings.md
master
redis
[ -0.05872097983956337, 0.05068337917327881, -0.06807676702737808, 0.03267688676714897, -0.09616290032863617, -0.04796835407614708, 0.1103987768292427, 0.05638767033815384, 0.03727736324071884, -0.0699872374534607, 0.004375095944851637, 0.04859776794910431, 0.09221066534519196, -0.0731128901...
0.142182
it will never happen that client 1 reads "10", client 2 reads "10" at the same time, both increment to 11, and set the new value to 11. The final value will always be 12 and the read-increment-set operation is performed while all the other clients are not executing a command at the same time. ## Limits By default, a si...
https://github.com/redis/redis-doc/blob/master/docs/data-types/strings.md
master
redis
[ -0.10107573866844177, -0.030146796256303787, -0.11792946606874466, -0.01391645334661007, -0.1518252193927765, -0.09647572785615921, 0.08677822351455688, 0.05375765264034271, 0.03489040583372116, -0.00878407247364521, 0.0025839742738753557, -0.0020194114185869694, 0.10210386663675308, -0.07...
0.13547
--- title: "Redis hashes" linkTitle: "Hashes" weight: 40 description: > Introduction to Redis hashes --- Redis hashes are record types structured as collections of field-value pairs. You can use hashes to represent basic objects and to store groupings of counters, among other things. {{< clients-example hash\_tutorial...
https://github.com/redis/redis-doc/blob/master/docs/data-types/hashes.md
master
redis
[ -0.009461713023483753, 0.060846664011478424, -0.06226919963955879, -0.013040022924542427, -0.047261934727430344, 0.01280433963984251, 0.07774568349123001, 0.06385421752929688, 0.04174526780843735, -0.03451018035411835, -0.005077079404145479, 0.03568648919463158, 0.11615078151226044, -0.075...
0.085097
--- title: "Redis sets" linkTitle: "Sets" weight: 30 description: > Introduction to Redis sets --- A Redis set is an unordered collection of unique strings (members). You can use Redis sets to efficiently: \* Track unique items (e.g., track all unique IP addresses accessing a given blog post). \* Represent relations (...
https://github.com/redis/redis-doc/blob/master/docs/data-types/sets.md
master
redis
[ -0.01756751537322998, 0.008950472809374332, -0.08704500645399094, 0.032434672117233276, -0.0270239170640707, 0.002549173776060343, 0.07939454913139343, 0.002362634288147092, -0.014142542146146297, -0.036671821027994156, 0.01677645929157734, -0.015287152491509914, 0.11238009482622147, -0.06...
0.181196
see some of these commands in action: {{< clients-example sets\_tutorial multisets >}} > SADD bikes:racing:france bike:1 bike:2 bike:3 (integer) 3 > SADD bikes:racing:usa bike:1 bike:4 (integer) 2 > SADD bikes:racing:italy bike:1 bike:2 bike:3 bike:4 (integer) 4 > SINTER bikes:racing:france bikes:racing:usa bikes:racin...
https://github.com/redis/redis-doc/blob/master/docs/data-types/sets.md
master
redis
[ 0.0802299827337265, 0.07286101579666138, -0.08321154117584229, 0.0002638458099681884, -0.01003650389611721, 0.03370625898241997, 0.024097107350826263, -0.011115715838968754, -0.02476995624601841, -0.053135666996240616, 0.008681013248860836, -0.14600463211536407, 0.056252092123031616, -0.05...
0.019052
A Redis stream is a data structure that acts like an append-only log but also implements several operations to overcome some of the limits of a typical append-only log. These include random access in O(1) time and complex consumption strategies, such as consumer groups. You can use streams to record and simultaneously ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.04559827595949173, -0.053056903183460236, -0.07225418835878372, 0.014133865013718605, 0.05765043571591377, -0.0605669841170311, 0.07972120493650436, -0.014921597205102444, 0.08703179657459259, -0.012183897197246552, -0.030327679589390755, 0.012623355723917484, -0.0027948715724051, -0.01...
0.205113
2 "1692632147973-0" {{< /clients-example >}} The above call to the `XADD` command adds an entry `rider: Castilla, speed: 29.9, position: 1, location\_id: 2` to the stream at key `race:france`, using an auto-generated entry ID, which is the one returned by the command, specifically `1692632147973-0`. It gets as its firs...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.06198142096400261, 0.02668748050928116, -0.04801389202475548, -0.0855361595749855, 0.002725723199546337, -0.017006607726216316, 0.07348623871803284, 0.02466714009642601, 0.044971395283937454, -0.0043576606549322605, -0.017606526613235474, -0.03859781101346016, 0.05987847223877907, -0.07...
0.106965
If you're running Redis 7 or later, you can also provide an explicit ID consisting of the milliseconds part only. In this case, the sequence portion of the ID will be automatically generated. To do this, use the syntax below: {{< clients-example stream\_tutorial xadd\_7 >}} > XADD race:usa 0-\* racer Prickett 0-3 {{< /...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.04507486894726753, 0.0028772258665412664, -0.04376579821109772, -0.04879990592598915, 0.07023444026708603, -0.04379570856690407, 0.06128105893731117, 0.002366025699302554, 0.026801031082868576, 0.03134613856673241, 0.00396374799311161, -0.012981577776372433, -0.000952524715103209, -0.04...
0.072749
"position" 6) "3" 7) "location\_id" 8) "1" 3) 1) "1692632102976-0" 2) 1) "rider" 2) "Prickett" 3) "speed" 4) "29.7" 5) "position" 6) "2" 7) "location\_id" 8) "1" 4) 1) "1692632147973-0" 2) 1) "rider" 2) "Castilla" 3) "speed" 4) "29.9" 5) "position" 6) "1" 7) "location\_id" 8) "2" {{< /clients-example >}} Each entry ret...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.050742775201797485, 0.06116756424307823, -0.0610695444047451, -0.043130308389663696, -0.012275819666683674, 0.005724519025534391, 0.086082324385643, 0.01616564206779003, 0.03951958566904068, -0.029393738135695457, -0.008151127956807613, -0.04023883119225502, 0.06769716739654541, -0.0398...
0.085253
that we've retrieved 4 items out of a stream that only had 4 entries in it, if we try to retrieve more items, we'll get an empty array: {{< clients-example stream\_tutorial xrange\_empty >}} > XRANGE race:france (1692632147973-0 + COUNT 2 (empty array) {{< /clients-example >}} Since `XRANGE` complexity is \*O(log(N))\*...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ 0.0016427086666226387, 0.01173633523285389, -0.01607595384120941, -0.011800362728536129, 0.037302277982234955, -0.08316605538129807, 0.04248330742120743, -0.002628333866596222, 0.05744399130344391, -0.037418365478515625, 0.029654286801815033, -0.007126371376216412, 0.05412006378173828, -0....
0.078558
8) "1" {{< /clients-example >}} The above is the non-blocking form of `XREAD`. Note that the \*\*COUNT\*\* option is not mandatory, in fact the only mandatory option of the command is the \*\*STREAMS\*\* option, that specifies a list of keys together with the corresponding maximum ID already seen for each stream by the...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.03306635096669197, 0.003748878138139844, -0.030227158218622208, -0.015075835399329662, -0.02823864482343197, -0.0015312934992834926, 0.09650939702987671, -0.003753532422706485, 0.015485616400837898, -0.06001761555671692, 0.0008154248353093863, -0.06945084780454636, 0.04645770788192749, ...
0.102141
has no other options than \*\*COUNT\*\* and \*\*BLOCK\*\*, so it's a pretty basic command with a specific purpose to attach consumers to one or multiple streams. More powerful features to consume streams are available using the consumer groups API, however reading via consumer groups is implemented by a different comma...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.06423516571521759, -0.06349094212055206, 0.009036128409206867, 0.014412296935915947, -0.025913845747709274, -0.030078653246164322, 0.05879267677664757, -0.059894852340221405, 0.07883240282535553, -0.021839594468474388, -0.023101309314370155, -0.056079573929309845, 0.06488310545682907, 0...
0.147236
about a stream: ``` +----------------------------------------+ | consumer\_group\_name: mygroup | | consumer\_group\_stream: somekey | | last\_delivered\_id: 1292309234234-92 | | | | consumers: | | "consumer-1" with pending messages | | 1292309234234-4 | | 1292309234232-8 | | "consumer-42" with pending messages | | ......
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.09273980557918549, -0.006353430915623903, -0.011338874697685242, 0.013374569825828075, -0.020386692136526108, -0.005038862116634846, 0.10539045929908752, -0.0682615116238594, 0.04398093372583389, -0.017577357590198517, 0.0851183757185936, -0.03927639126777649, 0.026035530492663383, -0.0...
0.095883
two arguments: the name of the consumer group, and the name of the consumer that is attempting to read. The option \*\*COUNT\*\* is also supported and is identical to the one in `XREAD`. We'll add riders to the race:italy stream and try reading something using the consumer group: Note: \*here rider is the field name, a...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.0073967305943369865, 0.043480534106492996, -0.06334546208381653, 0.0037427288480103016, -0.025453997775912285, -0.0003442515735514462, 0.08466670662164688, 0.023717407137155533, -0.00008048755989875644, -0.0703265443444252, 0.030149947851896286, -0.13387171924114227, 0.02751954272389412, ...
0.090746
XREADGROUP GROUP italy\_riders Bob COUNT 2 STREAMS race:italy > 1) 1) "race:italy" 2) 1) 1) "1692632647899-0" 2) 1) "rider" 2) "Royce" 2) 1) "1692632662819-0" 2) 1) "rider" 2) "Sam-Bodden" {{< /clients-example >}} Bob asked for a maximum of two messages and is reading via the same group `mygroup`. So what happens is th...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.0032925494015216827, -0.07167758792638779, -0.03539561852812767, 0.02959350310266018, -0.036978404968976974, -0.03288444131612778, 0.0924513041973114, -0.04139857739210129, 0.05102263391017914, -0.03638504073023796, 0.016923416405916214, -0.05974656715989113, 0.021845562383532524, -0.02...
0.132314
special ID in order to consume new messages. ## Recovering from permanent failures The example above allows us to write consumers that participate in the same consumer group, each taking a subset of messages to process, and when recovering from failures re-reading the pending messages that were delivered just to them. ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.09789830446243286, -0.030651576817035675, -0.03268060460686684, 0.07695072889328003, 0.05492298677563667, -0.054232798516750336, 0.11660423874855042, -0.02508614771068096, 0.035251934081315994, -0.0019122941885143518, 0.06300639361143112, 0.03554759547114372, 0.025682009756565094, -0.04...
0.143138
was by just using `XRANGE`. {{< clients-example stream\_tutorial xrange\_pending >}} > XRANGE race:italy 1692632647899-0 1692632647899-0 1) 1) "1692632647899-0" 2) 1) "rider" 2) "Royce" {{< /clients-example >}} We have just to repeat the same ID twice in the arguments. Now that we have some ideas, Alice may decide that...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.08442006260156631, 0.04470796883106232, 0.0011547323083505034, -0.0037417386192828417, 0.020094148814678192, 0.001241066842339933, 0.10009724646806717, -0.007700458634644747, 0.02907976694405079, -0.01769126020371914, 0.061973027884960175, -0.014377404004335403, 0.07857537269592285, -0....
0.073164
signature looks like this: ``` XAUTOCLAIM [COUNT count] [JUSTID] ``` So, in the example above, I could have used automatic claiming to claim a single message like this: {{< clients-example stream\_tutorial xautoclaim >}} > XAUTOCLAIM race:italy italy\_riders Alice 60000 0-0 COUNT 1 1) "0-0" 2) 1) 1) "1692632662819-0" 2...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.09496626257896423, 0.0876171737909317, -0.017943205311894417, -0.01760629378259182, 0.060550615191459656, -0.07614120841026306, 0.11179596930742264, 0.026570862159132957, 0.05435393378138542, -0.04969450831413269, -0.020856864750385284, -0.07507345825433731, 0.08106637001037598, 0.04910...
0.042103
12) 1) "1692632639151-0" 2) 1) "rider" 2) "Castilla" 13) "last-entry" 14) 1) "1692632678249-0" 2) 1) "rider" 2) "Norem" {{< /clients-example >}} The output shows information about how the stream is encoded internally, and also shows the first and last message in the stream. Another piece of information available is the...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.04788714274764061, 0.025141960009932518, -0.052385468035936356, -0.009667241014540195, 0.02712627500295639, 0.006606542970985174, 0.09489372372627258, -0.007107491139322519, 0.08634329587221146, -0.10123677551746368, 0.02759263850748539, -0.07554004341363907, -0.04416432976722717, -0.01...
0.161848
stream is not automatically partitioned to multiple instances. We could say that schematically the following is true: \* If you use 1 stream -> 1 consumer, you are processing messages in order. \* If you use N streams with N consumers, so that only a given consumer hits a subset of the N streams, you can scale the abov...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.06601231545209885, -0.08647863566875458, -0.026728151366114616, -0.007375672925263643, 0.03899046778678894, -0.020884977653622627, -0.057998161762952805, 0.027345990762114525, 0.105473093688488, -0.004379841964691877, -0.05868476629257202, -0.002514369087293744, -0.004860265180468559, -...
0.108572
don't really need this to be exactly 1000 items. It can be 1000 or 1010 or 1030, just make sure to save at least 1000 items. With this argument, the trimming is performed only when we can remove a whole node. This makes it much more efficient, and it is usually what you want. You'll note here that the client libraries ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ 0.03893233835697174, 0.1472998410463333, -0.0022982421796768904, -0.06628171354532242, -0.018070215359330177, -0.05707363411784172, 0.022324848920106888, 0.052101269364356995, -0.04000639170408249, -0.0043719857931137085, 0.0011335944291204214, -0.010951746255159378, 0.043792303651571274, ...
0.035635
the `XADD` command, means to auto select an ID for us for the new entry. So we have `-`, `+`, `$`, `>` and `\*`, and all have a different meaning, and most of the time, can be used in different contexts. ## Persistence, replication and message safety A Stream, like any other Redis data structure, is asynchronously repl...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.043514955788850784, -0.0864742249250412, -0.08724330365657806, 0.0024444255977869034, 0.081298828125, -0.0375736728310585, 0.06075557321310043, -0.060328319668769836, 0.05837720260024071, 0.006618123967200518, 0.048184946179389954, 0.047237902879714966, 0.047673020511865616, -0.07042781...
0.076286
was called. The reason why such an asymmetry exists is because Streams may have associated consumer groups, and we do not want to lose the state that the consumer groups defined just because there are no longer any items in the stream. Currently the stream is not deleted even when it has no associated consumer groups. ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.009627869352698326, -0.06625887006521225, -0.059193965047597885, 0.023357784375548363, 0.0405929796397686, -0.08391659706830978, 0.01479449961334467, -0.055001433938741684, 0.0887335017323494, -0.04605768993496895, 0.060464322566986084, -0.012406867928802967, 0.0013821845641359687, -0.0...
0.071353
and Ruby programs reading the messages from the consumer group and processing them. The message processing step consisted of comparing the current computer time with the message timestamp, in order to understand the total latency. Results obtained: ``` Processed between 0 and 1 ms -> 74.11% Processed between 1 and 2 ms...
https://github.com/redis/redis-doc/blob/master/docs/data-types/streams.md
master
redis
[ -0.0016277293907478452, -0.09415843337774277, -0.04698331654071808, 0.08808381855487823, 0.00778320524841547, -0.12954573333263397, 0.0037717244122177362, -0.01648498699069023, 0.02271948754787445, -0.001498704426921904, 0.0038815070874989033, 0.021183768287301064, 0.02514570765197277, -0....
0.011037
--- title: "Redis lists" linkTitle: "Lists" weight: 20 description: > Introduction to Redis lists --- Redis lists are linked lists of string values. Redis lists are frequently used to: \* Implement stacks and queues. \* Build queue management for background worker systems. ## Basic commands \* `LPUSH` adds a new eleme...
https://github.com/redis/redis-doc/blob/master/docs/data-types/lists.md
master
redis
[ -0.1049436405301094, 0.017207413911819458, -0.06874255836009979, 0.015964725986123085, 0.059041447937488556, -0.06396790593862534, 0.08365488797426224, 0.030756505206227303, 0.011866321787238121, 0.0007157707586884499, 0.04928705468773842, 0.04351644963026047, 0.03268784284591675, -0.08088...
0.219885
`LPUSH` command to the head of a list with ten elements is the same as adding an element to the head of list with 10 million elements. What's the downside? Accessing an element \*by index\* is very fast in lists implemented with an Array (constant time indexed access) and not so fast in lists implemented by linked list...
https://github.com/redis/redis-doc/blob/master/docs/data-types/lists.md
master
redis
[ -0.04928239434957504, -0.012081928551197052, -0.06530498713254929, 0.050401248037815094, 0.01690514385700226, -0.04005221277475357, 0.022719308733940125, 0.06559216231107712, 0.021726960316300392, 0.04368880018591881, 0.006607625167816877, 0.10553018748760223, -0.017730260267853737, -0.076...
0.152704
using a consumer-producer pattern where the producer pushes items into a list, and a consumer (usually a \*worker\*) consumes those items and executes actions. Redis has special list commands to make this use case both more reliable and efficient. For example both the popular Ruby libraries [resque](https://github.com/...
https://github.com/redis/redis-doc/blob/master/docs/data-types/lists.md
master
redis
[ -0.1173194870352745, -0.0020049794111400843, -0.1084350049495697, 0.044193968176841736, 0.06355288624763489, -0.06645044684410095, 0.01113133504986763, 0.047048937529325485, -0.0032231484074145555, 0.024577533826231956, 0.039865415543317795, 0.09361712634563446, 0.0551297590136528, -0.0627...
0.210114
process items from the list, consumers call `RPOP`. However it is possible that sometimes the list is empty and there is nothing to process, so `RPOP` just returns NULL. In this case a consumer is forced to wait some time and retry again with `RPOP`. This is called \*polling\*, and is not a good idea in this context be...
https://github.com/redis/redis-doc/blob/master/docs/data-types/lists.md
master
redis
[ -0.09134628623723984, 0.009125836193561554, -0.06958746165037155, 0.05057801678776741, 0.016514014452695847, -0.07480474561452866, 0.11141102761030197, -0.018461482599377632, 0.0690813735127449, 0.016803909093141556, 0.00455239275470376, 0.007824554108083248, -0.00669553317129612, -0.08107...
0.161263
an empty aggregate data type is created before adding the element. 2. When we remove elements from an aggregate data type, if the value remains empty, the key is automatically destroyed. The Stream data type is the only exception to this rule. 3. Calling a read-only command such as `LLEN` (which returns the length of t...
https://github.com/redis/redis-doc/blob/master/docs/data-types/lists.md
master
redis
[ -0.015895642340183258, 0.05591090768575668, 0.0488605871796608, 0.052599724382162094, -0.013954231515526772, -0.04452483355998993, 0.05899390950798988, 0.032088857144117355, 0.05117947235703468, 0.043285567313432693, 0.0045177144929766655, -0.01413762103766203, 0.03042786568403244, -0.0379...
0.009352
Redis bitfields let you set, increment, and get integer values of arbitrary bit length. For example, you can operate on anything from unsigned 1-bit integers to signed 63-bit integers. These values are stored using binary-encoded Redis strings. Bitfields support atomic read, write and increment operations, making them ...
https://github.com/redis/redis-doc/blob/master/docs/data-types/bitfields.md
master
redis
[ -0.03857726231217384, 0.008441347628831863, -0.11893593519926071, 0.030523475259542465, -0.06278104335069656, -0.07797526568174362, 0.048286762088537216, 0.04387610778212547, 0.05295173078775406, -0.007532325107604265, -0.03623969852924347, 0.01304719503968954, 0.04826132208108902, -0.0426...
0.225406
Redis is a data structure server. At its core, Redis provides a collection of native data types that help you solve a wide variety of problems, from [caching](/docs/manual/client-side-caching/) to [queuing](/docs/data-types/lists/) to [event processing](/docs/data-types/streams/). Below is a short description of each d...
https://github.com/redis/redis-doc/blob/master/docs/data-types/_index.md
master
redis
[ -0.039889831095933914, -0.047128595411777496, -0.05433335900306702, -0.0013817725703120232, -0.05067426711320877, -0.12723073363304138, 0.05521445348858833, 0.029669955372810364, 0.0032712393440306187, 0.008491151966154575, -0.04840564355254173, 0.055540166795253754, -0.009310547262430191, ...
0.199425
HyperLogLog is a probabilistic data structure that estimates the cardinality of a set. As a probabilistic data structure, HyperLogLog trades perfect accuracy for efficient space utilization. The Redis HyperLogLog implementation uses up to 12 KB and provides a standard error of 0.81%. Counting unique items usually requi...
https://github.com/redis/redis-doc/blob/master/docs/data-types/probabilistic/hyperloglogs.md
master
redis
[ 0.05811745673418045, -0.028949199244379997, -0.08554413914680481, 0.034425992518663406, -0.043438516557216644, -0.08038485050201416, 0.055759645998477936, -0.014566863887012005, 0.057912759482860565, 0.010863530449569225, -0.013020643033087254, 0.038965560495853424, 0.05828213691711426, 0....
0.100121
and every IP/identifier is added to it on every visit. ## Basic commands \* `PFADD` adds an item to a HyperLogLog. \* `PFCOUNT` returns an estimate of the number of items in the set. \* `PFMERGE` combines two or more HyperLogLogs into one. See the [complete list of HyperLogLog commands](https://redis.io/commands/?group...
https://github.com/redis/redis-doc/blob/master/docs/data-types/probabilistic/hyperloglogs.md
master
redis
[ 0.0061974539421498775, -0.06844671070575714, -0.0807194784283638, 0.02047766000032425, -0.01897873915731907, -0.06277050822973251, 0.054812852293252945, 0.01115867868065834, 0.02707834169268608, 0.027949005365371704, 0.00827128067612648, 0.03142328932881355, 0.03231234475970268, -0.0454339...
0.117638
At the base of Redis replication (excluding the high availability features provided as an additional layer by Redis Cluster or Redis Sentinel) there is a \*leader follower\* (master-replica) replication that is simple to use and configure. It allows replica Redis instances to be exact copies of master instances. The re...
https://github.com/redis/redis-doc/blob/master/docs/management/replication.md
master
redis
[ -0.05188029631972313, -0.06497368961572647, 0.02145465463399887, 0.08167289197444916, 0.050075285136699677, -0.043341390788555145, -0.026543883606791496, -0.02527637965977192, 0.05869900807738304, 0.017283782362937927, -0.03321971371769905, 0.07934124022722244, 0.06680777668952942, -0.0837...
0.149207
initial synchronization or a partial resynchronization. \* Replication is also largely non-blocking on the replica side. While the replica is performing the initial synchronization, it can handle queries using the old version of the dataset, assuming you configured Redis to do so in redis.conf. Otherwise, you can confi...
https://github.com/redis/redis-doc/blob/master/docs/management/replication.md
master
redis
[ -0.0631798729300499, -0.040368009358644485, -0.03955943137407303, 0.009206605143845081, -0.02691393718123436, -0.05699077248573303, -0.037800755351781845, -0.059096019715070724, 0.05370201915502548, 0.0125027010217309, -0.00664353696629405, 0.1252690851688385, 0.049641337245702744, -0.0635...
0.127138
changes modifying the dataset. The replication offset is incremented even if no replica is actually connected, so basically every given pair of: Replication ID, offset Identifies an exact version of the dataset of a master. When replicas connect to masters, they use the `PSYNC` command to send their old master replicat...
https://github.com/redis/redis-doc/blob/master/docs/management/replication.md
master
redis
[ -0.01820230856537819, -0.00703688059002161, 0.02038644813001156, 0.010292209684848785, 0.0274765994399786, -0.015499426051974297, -0.08581043034791946, -0.06788009405136108, 0.018802132457494736, 0.020784951746463776, -0.024235079064965248, 0.09083231538534164, 0.07406812906265259, -0.1322...
0.047982
that are promoted to masters. After a failover, the promoted replica requires to still remember what was its past replication ID, because such replication ID was the one of the former master. In this way, when other replicas will sync with the new master, they will try to perform a partial resynchronization using the o...
https://github.com/redis/redis-doc/blob/master/docs/management/replication.md
master
redis
[ -0.062249671667814255, -0.014055510051548481, 0.073819600045681, -0.008809289894998074, 0.06253232806921005, 0.03272082656621933, -0.009675918146967888, -0.046876128762960434, 0.05905912071466446, -0.013763549737632275, -0.015628695487976074, 0.07438952475786209, 0.10857921838760376, -0.05...
0.066354
to revert the read-only setting and have replica instances that can be targeted by write operations. The answer is that writable replicas exist only for historical reasons. Using writable replicas can result in inconsistency between the master and the replica, so it is not recommended to use writable replicas. To under...
https://github.com/redis/redis-doc/blob/master/docs/management/replication.md
master
redis
[ -0.03221486508846283, -0.03408902511000633, 0.018053993582725525, 0.04917149990797043, -0.044947218149900436, -0.010156787000596523, -0.07034759223461151, -0.019122282043099403, 0.05624117702245712, 0.06140805780887604, 0.011034158989787102, 0.15960609912872314, 0.05189190432429314, -0.047...
0.022492
replica and the master. Also note that since Redis 4.0 replica writes are only local, and are not propagated to sub-replicas attached to the instance. Sub-replicas instead will always receive the replication stream identical to the one sent by the top-level master to the intermediate replicas. So for example in the fol...
https://github.com/redis/redis-doc/blob/master/docs/management/replication.md
master
redis
[ -0.0030455701053142548, -0.05390583723783493, -0.06492067873477936, 0.010763992555439472, -0.04787476733326912, -0.03572666272521019, -0.022453416138887405, -0.0384744256734848, 0.046595025807619095, 0.004642433021217585, -0.06441543996334076, 0.036934804171323776, 0.13313870131969452, -0....
0.017594