Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updates fingerprinting and deduplication docs #61

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Conversation

dhudec
Copy link
Contributor

@dhudec dhudec commented Feb 6, 2023

Description

  • Updates fingerprinting and deduplication docs

Testing required outside of automated testing?

  • Not Applicable

Screenshots (if appropriate):

  • Not Applicable

Rollback / Rollforward Procedure

  • Roll Forward
  • Roll Back

Reviewer Checklist

  • Description of Change
  • Description of outside testing if applicable.
  • Description of Roll Forward / Backward Procedure
  • Documentation updated for Change

@dhudec dhudec requested a review from a team as a code owner February 6, 2023 23:15
@vercel
Copy link

vercel bot commented Feb 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
developers-basistheory-com ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 7, 2023 at 7:45PM (UTC)

Fingerprinting provides a way to correlate multiple tokens together that contain the same data without needing access to the underlying data.
Creating multiple tokens in a tenant with the same token type, data, and [fingerprint expression](/docs/expressions/fingerprints) will result in the same fingerprint.
This can be useful for correlating purchases with the same credit card for multiple members of the same household or helping with
master data management of multiple user accounts. Token fingerprints are also used for automatic [deduplication](#deduplication) of tokens within a tenant.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a discussion regarding preferring absolute paths a while back. Not sure if we want to adhere to that here, since this is probably linking to another section on the same page.

Copy link
Contributor Author

@dhudec dhudec Feb 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need to use absolute paths to other pages - when I changed those before I left anchors on the same page like this since it works fine with or without the trailing slash in the url while you're already on the page

Duplicate data can be problematic for some systems. It can potentially lead to data consistency problems as multiple copies of the data
need to be kept in sync. For example, you may have an accounts payable system and an e-commerce system both accepting credit cards for customers,
and you want to ensure a single credit card is on file for that customer as the source of truth.
Deduplication may also be required within some business domains, for example, a system may collect sensitive user information and wish to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
Deduplication may also be required within some business domains, for example, a system may collect sensitive user information and wish to
Deduplication may also be required within some business domains; for example, a system may collect sensitive user information and wish to

amkera
amkera previously approved these changes Feb 7, 2023
Comment on lines 20 to 23
Since fingerprinting performs a CPU-intensive cryptographic operation, creating tokens without fingerprints will be more performant than
creating tokens with fingerprints. We recommend that you disable the <code>Fingerprint All Tokens</code> setting in production environments
and only enable fingerprinting on a per-token basis when it is necessary.
</Alert>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Since fingerprinting performs a CPU-intensive cryptographic operation, creating tokens without fingerprints will be more performant than
creating tokens with fingerprints. We recommend that you disable the <code>Fingerprint All Tokens</code> setting in production environments
and only enable fingerprinting on a per-token basis when it is necessary.
</Alert>
Since fingerprinting performs a CPU-intensive cryptographic operation, creating tokens with fingerprints will increase the latency of each request. For this reason, we recommend that you leave the <code>Fingerprint All Tokens</code> setting disabled, and only enable fingerprinting on a per-token basis when it is necessary unless you need every new token to be fingerprinted.
</Alert>

@dhudec dhudec dismissed armsteadj1’s stale review February 7, 2023 21:17

Feedback addressed

@dhudec dhudec merged commit b5edb07 into master Feb 7, 2023
@dhudec dhudec deleted the eng-4188 branch February 7, 2023 21:17
bt-platform-eng pushed a commit that referenced this pull request Feb 7, 2023
# [1.25.0](v1.24.0...v1.25.0) (2023-02-07)

### Features

* Updates fingerprinting and deduplication docs ([#61](#61)) ([b5edb07](b5edb07))
@bt-platform-eng
Copy link

🎉 This PR is included in version 1.25.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants